﻿@{
    ViewBag.Title = "AboutTheSecurities";
    Layout = "~/Views/Shared/_SecuredProgressLayout.cshtml";
}

<h1>
    About the securities
</h1>
<div id="securedDetailsDIV"></div>
<div id="securedListDIV"></div>
<div class="bottombtns">
    <a href="@Url.Action("Index")" class="green2" style="float: left">BACK</a> <a  href="#" id="aNext"   class="green2"
        style="float: right">NEXT</a><a href="#"
        id="aSava" class="green2" style="float: right">SAVE</a>
</div>
<script src="@Url.Content("~/Scripts/jQuery.gbfSubmit.js")" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#process #AboutTheSecurities").addClass("activedprocess");
        $("#process #AboutTheSecurities a").addClass("activedprocesstxt");

        $("#securedListDIV").load('@Url.Action("UAboutTheSecuritiesList")');
        $("#securedDetailsDIV").load('@Url.Action("UAboutTheSecuritiesDetails")');

        $("#aSava").click(function () {
            submitAndRedirect("#securedDetailsDIV", "currenturl");
        });

        $("#aNext").click(function () {
            submitAndRedirect("#securedDetailsDIV", '@Url.Action("BusinessBankDetails")');
        });
    });
</script>


